package com.dime.physical.mapper;

import java.util.List;
import com.dime.physical.domain.DimePhysicalflow;
/**
 * 人员流程Mapper接口
 *
 * @author Tiny
 * @date 2023-10-30
 */
public interface DimePhysicalflowMapper
{
    /**
     * 查询人员流程
     *
     * @param id 人员流程主键
     * @return 人员流程
     */
    public DimePhysicalflow selectDimePhysicalflowById(String id);

    /**
     * 查询人员流程列表
     *
     * @param dimePhysicalflow 人员流程
     * @return 人员流程集合
     */
    public List<DimePhysicalflow> selectDimePhysicalflowList(DimePhysicalflow dimePhysicalflow);

    /**
     * 新增人员流程
     *
     * @param dimePhysicalflow 人员流程
     * @return 结果
     */
    public int insertDimePhysicalflow(DimePhysicalflow dimePhysicalflow);

    /**
     * 修改人员流程
     *
     * @param dimePhysicalflow 人员流程
     * @return 结果
     */
    public int updateDimePhysicalflow(DimePhysicalflow dimePhysicalflow);

    /**
     * 删除人员流程
     *
     * @param id 人员流程主键
     * @return 结果
     */
    public int deleteDimePhysicalflowById(String id);

    /**
     * 批量删除人员流程
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDimePhysicalflowByIds(String[] ids);

    public DimePhysicalflow selectPhysiacaflowByRegisterIdAndGroupid(String registerid, String groupid);

    public int deleteDimePhysiacaflowByPhysicalId(String physicalId);

    public List<DimePhysicalflow> selectDimePhysiacaflowByPhysicalId(String id);
}
